package fhp.hlhj.giantfold.customView

import android.app.Dialog
import android.content.Context
import android.os.Bundle
import android.view.LayoutInflater
import fhp.hlhj.giantfold.R

/**
 * author: FHP
 * data: on 2018\1\12 0012 15:53
 * E-Mail: 103945089@qq.com
 */
class LoadingDialog(context: Context) : Dialog(context, R.style.CustomDialog) {
    override fun onCreate(savedInstanceState: Bundle?) {
        super.onCreate(savedInstanceState)
        setContentView(LayoutInflater.from(context).inflate(R.layout.loading,null))
        setCancelable(false)
    }
}